草庐IT

php curl -k 或 --insecure, -X

全部标签

ssl - websocket - 连接建立错误:net::ERR_INSECURE_RESPONSE

无法连接到websocket服务器..我使用与nginx完全相同的private.key和public.crt证书是自签名的,但可以通过nginx通过HTTPS与网站的其余部分正常工作当http.ListenAndServe()行未注释时,使用ws://时websocket服务器工作packagemainimport("flag""fmt""log""net/http")constPORTuint=8000funcmain(){host:=parse_flags()hub:=newHub()gohub.run()http.HandleFunc("/",func(whttp.Respon

ssl - websocket - 连接建立错误:net::ERR_INSECURE_RESPONSE

无法连接到websocket服务器..我使用与nginx完全相同的private.key和public.crt证书是自签名的,但可以通过nginx通过HTTPS与网站的其余部分正常工作当http.ListenAndServe()行未注释时,使用ws://时websocket服务器工作packagemainimport("flag""fmt""log""net/http")constPORTuint=8000funcmain(){host:=parse_flags()hub:=newHub()gohub.run()http.HandleFunc("/",func(whttp.Respon

phpcurl函数类模拟Curl get post header refer携带Cookie模拟访问来源Refer模拟UseaAgent

phpCurl函数类,网上很多,这里分享一个万能phpcurl,包含phpcurl函数类模拟Curlgetpostheaderrefer携带Cookie模拟访问来源Refer模拟UseaAgentphp/***@author教书先生*@linkhttps://blog.oioweb.cn*@date2021年6月13日10:29:04*@msgPHPCurl封装的方法*/functionteacher_curl($url,$paras=[]){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_SS

phpcurl函数类模拟Curl get post header refer携带Cookie模拟访问来源Refer模拟UseaAgent

phpCurl函数类,网上很多,这里分享一个万能phpcurl,包含phpcurl函数类模拟Curlgetpostheaderrefer携带Cookie模拟访问来源Refer模拟UseaAgentphp/***@author教书先生*@linkhttps://blog.oioweb.cn*@date2021年6月13日10:29:04*@msgPHPCurl封装的方法*/functionteacher_curl($url,$paras=[]){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_SS